package com.edu.cdp.DTO;

import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

/**
 * 用于修改或新增商品
 */
@Data
public class AddGoodsDTO {
    @Parameter(name = "id", description = "商品分类id")
    private Integer categoryId;
    @Parameter(name = "goodsName", description = "商品名称")
    private String goodsName;
    @Parameter(name = "price", description = "商品价格")
    private Double price;
    @Parameter(name = "stick", description = "商品库存数量")
    private Integer stock;
}
